﻿using Abp.Domain.Entities.Auditing;
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.StoreManagement.StoragePut
{
    /// <summary>
    /// 盘点详情表
    /// </summary>
    public class InventoryStore : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 盘点单号
        /// </summary>
        public string InventoryNo { get; set; }
        /// <summary>
        /// 仓库ID
        /// </summary>
        public Guid? StoreId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string StroeName { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public Guid MaterialsNodeId { get; set; }
        [CanBeNull]
        /// <summary>
        /// 盘点开始时间
        /// </summary>
        public DateTime? InventoryStartTime { get; set; }
        [CanBeNull]
        /// <summary>
        /// 盘点结束时间
        /// </summary>
        public DateTime? InventoryEndTime { get; set; }
        /// <summary>
        /// 盘点状态
        /// </summary>

        public InventoryState InventoryState { get; set; }

        /// <summary>
        /// 盘点人员
        /// </summary>
        public long InventoryPeopleId { get; set; }


        /// <summary>
        /// 盘点开始时间
        /// </summary>
        public DateTime? InventoryRstartTime { get; set; }

        /// <summary>
        /// 盘点结束时间
        /// </summary>
        public DateTime? InventoryREndTime { get; set; }

    }
}
